.login_box{
    background: linear-gradient(135deg, #1f1f2c, #1c1e30, #25273c);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    background-attachment: fixed;
    width: 100vw;
    height: 100vh;
    .login{
        width: 100%;
        max-width: 1100px;
        min-width: 850px;
        display: flex;
        max-height: 560px;
        height: 100%;
        background: rgba(32, 34, 37, 0.85);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
        .login_left{
            flex: 1;
            background: url(https://images.unsplash.com/photo-1557683316-973673baf926?ixlib=rb-4.0.3) center / cover no-repeat;
            padding: 40px;
            display: flex;
            flex-direction: column;
            position: relative;
            box-sizing: border-box;
            &::after{
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: linear-gradient(to bottom, rgba(40, 42, 50, 0.8), rgba(25, 27, 35, 0.95));
                z-index: 0;
            }

            .login_left_content{
                position: relative;
                z-index: 2;
                text-align: center;
                max-width: 500px;
                padding: 30px;
                .login_logo {
                    margin-bottom: 40px;
                    h1 {
                        font-size: 42px;
                        color: var(--login-text-primary);
                        font-weight: 700;
                        letter-spacing: 1px;
                    }
                }
                .login_logo_icon {
                    width: 100px;
                    height: 100px;
                    margin: 0 auto 20px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    svg {
                        width: 100%;
                        height: 100%;
                    }
                }
                .login_welcome {
                    margin-bottom: 20px;
                    h2 {
                        font-size: 32px;
                        color: var(--login-text-primary);
                        margin-bottom: 15px;
                        font-weight: 500;
                    }
                    
                    p{
                        color: var(--login-text-secondary);
                        font-size: 18px;
                        line-height: 1.5;
                        max-width: 400px;
                        margin: 0 auto;
                    }
                }
            }
        }
        .login_right{
            flex: 1;
            padding: 20px 40px;
            display: flex;
            flex-direction: column;
            background: var(--bg-primary);
            overflow: auto;
            .tabs{
                display: flex;
                margin-bottom: 30px;
                background: var(--input-bg);
                border-radius: 8px;
                padding: 5px;
                .tab{
                    flex: 1;
                    text-align: center;
                    padding: 15px 10px;
                    border-radius: 6px;
                    cursor: pointer;
                    transition: var(--transition);
                    font-weight: 600;
                }
                .tabActive{
                    background: var(--primary);
                    color: white;
                }
            }
            .form_box{
                flex: 1;
                display: flex;
                flex-direction: column;
                .login_form_header{
                    margin-bottom: 8px;
                    text-align: center;
                    h2{
                        font-size: 28px;
                        margin-bottom: 10px;
                        background: linear-gradient(to right, var(--primary), var(--secondary));
                        -webkit-background-clip: text;
                        -webkit-text-fill-color: transparent;
                    }
                    p{
                        color: var(--text-secondary);
                        font-size: 16px;
                    }
                }
                .login_form{
                    display: flex;
                    flex-direction: column;
                    margin-bottom: 20px;
                    gap: 20px;
                    .login_form_group{
                        position: relative;
                        label{
                            display: block;
                            margin-bottom: 8px;
                            font-size: 14px;
                            color: var(--text-secondary);
                        }
                    }
                    .forgot_password{
                        text-align: right;
                        margin: -10px 0 0;
                        a{
                            color: var(--primary);
                            text-decoration: none;
                            font-size: 14px;
                            transition: var(--transition);
                        }
                    }
                    .divider{
                        margin: 25px 0;
                        display: flex;
                        align-items: center;
                        text-align: center;
                        color: var(--text-secondary);
                        font-size: 14px;
                        &::before {
                            margin-right: 10px;
                        }
                        &::after {
                            margin-left: 10px;
                        }
                        &::before,&::after {
                            content: '';
                            flex: 1;
                            border-bottom: 1px solid var(--input-bg);
                        }
                    }
                    .social_login{
                        display: flex;
                        justify-content: space-between;
                        gap: 15px;
                        margin-bottom: 30px;
                        .social_btn{
                            flex: 1;
                            padding: 12px;
                            border-radius: 6px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            background: var(--input-bg);
                            color: var(--text-main);
                            text-decoration: none;
                            transition: var(--transition);
                            font-weight: 600;
                            font-size: 14px;
                            svg{
                                margin-right: 8px;
                                font-size: 18px;
                            }
                        }
                        .google{
                            background: #DB4437;
                        }
                        .facebook{
                            background: #4267B2;
                        }
                    }
                }
                .signup_prompt{
                    text-align: center;
                    color: var(--text-secondary);
                    font-size: 15px;
                    a{
                        color: var(--primary);
                        text-decoration: none;
                        font-weight: 700;
                        transition: var(--transition);
                    }
                }
            }
            .register_form{
                max-width: 450px;
                margin: 0 auto;
                width: 100%;
                .register_form_header{
                    text-align: center;
                    margin-bottom: 35px;
                    h2{
                        font-size: 28px;
                        margin-bottom: 10px;
                        background: linear-gradient(to right, var(--primary), var(--secondary));
                        -webkit-background-clip: text;
                        -webkit-text-fill-color: transparent;
                    }
                    p{
                        color: var(--text-secondary);
                        font-size: 16px;
                        max-width: 450px;
                        margin: 0 auto;
                        line-height: 1.6;
                    }
                }
                .register_form{
                    display: flex;
                    flex-direction: column;
                    .flex_group{
                        display: flex;
                        gap: 15px;
                    }
                    .register_form_group{
                        margin-bottom: 20px;
                        position: relative;
                        label {
                            display: block;
                            margin-bottom: 8px;
                            font-size: 14px;
                            color: var(--text-secondary);
                            font-weight: 500;
                        }
                    }
                    .password_info{
                        position: relative;
                        display: inline-block;
                        margin-left: 8px;
                        cursor: pointer;
                        .tooltip{
                            position: absolute;
                            background: var(--bg-dark);
                            padding: 10px 15px;
                            border-radius: 6px;
                            width: 250px;
                            bottom: 30px;
                            left: -80px;
                            display: none;
                            z-index: 10;
                            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
                            border: 1px solid rgba(88, 101, 242, 0.3);
                            &:after {
                                content: '';
                                position: absolute;
                                bottom: -10px;
                                left: 80px;
                                border-width: 10px 8px 0;
                                border-style: solid;
                                border-color: var(--bg-dark) transparent transparent;
                            }
                            
                            ul {
                                padding-left: 20px;
                            }
                            
                            li {
                                margin-bottom: 5px;
                                font-size: 13px;
                            }
                        }
                    }
                    .captcha_container{
                        display: flex;
                        align-items: center;
                        background: var(--bg-dark);
                        padding: 15px;
                        border-radius: 8px;
                        .captcha_box{
                            width: 120px;
                            height: 50px;
                            background: #22252b;
                            border-radius: 6px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            margin-right: 15px;
                            font-weight: 700;
                            letter-spacing: 3px;
                            color: #F7A738;
                            font-size: 22px;
                        }
                        .refresh_captcha{
                            background: none;
                            border: none;
                            color: var(--primary);
                            cursor: pointer;
                            transition: var(--transition);
                            margin-right: 15px;
                            svg{
                                width: 18px;
                                height: 18px;
                            }
                            &:hover{
                                transform: rotate(90deg);
                            }
                            &:active{
                                transform: rotate(180deg);
                            }
                        }
                        .captcha_input{
                            flex: 1;
                            padding: 12px;
                            background: var(--bg-dark);
                            border: 2px solid transparent;
                            transition: var(--transition);
                            border-radius: 6px;
                            outline: none;
                            color: var(--text-main);
                            font-size: 16px;
                            &:active{
                                border: 2px solid var(--accent-primary);
                            }
                            &:focus{
                                border: 2px solid var(--accent-primary);
                            }
                        }
                    }
                    .register_form_check{
                        display: flex;
                        align-items: flex-start;
                        margin: 20px 0 25px;
                        margin-bottom: 0;
                        font-size: 14px;
                        color: var(--text-secondary);
                        input{
                            margin-right: 10px;
                            margin-top: 3px;
                        }
                    }
                    .btn{
                        margin-top: 16px;
                    }
                }
                .guest_option{
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin-top: 20px;
                    color: var(--text-secondary);
                    .text_link{
                        color: var(--text-primary);
                        margin-left: 8px;
                        font-weight: 600;
                        text-decoration: none;
                        transition: var(--transition);
                        margin-right: 8px;
                    }
                }
                .divider{
                    margin: 25px 0;
                    display: flex;
                    align-items: center;
                    text-align: center;
                    color: var(--text-secondary);
                    font-size: 14px;
                    &::before, &::after {
                        content: '';
                        flex: 1;
                        border-bottom: 1px solid var(--bg-dark);
                    }
                    &::before {
                        margin-right: 10px;
                    }
                    &::after {
                        margin-left: 10px;
                    }
                }
            }
        }
    }
}